package com.jeomo.sys.provider.request;

import com.jeomo.sys.api.enums.OrgTypeEnum;

import java.io.Serializable;

/**
 * @author 崔贺
 */
public class CreateOrgRequest implements Serializable {

    private static final long serialVersionUID = 3362279334288350912L;

    /**
     * 修改时有效
     */
    private String code;

    /**
     * 父节点
     */
    private String parentCode;

    /**
     * 名称
     */
    private String name;

    /**
     * 类型
     */
    private OrgTypeEnum type;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public OrgTypeEnum getType() {
        return type;
    }

    public void setType(OrgTypeEnum type) {
        this.type = type;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getCode(){
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }

}
